Skip to content

bpo-46244: Remove __slots__ from typing.TypeVar, .ParamSpec#30444

Merged
Fidget-Spinner merged 5 commits intopython:mainfrom
ariebovenberg:fix-issue-46244
Jan 10, 2022
Merged

bpo-46244: Remove __slots__ from typing.TypeVar, .ParamSpec#30444
Fidget-Spinner merged 5 commits intopython:mainfrom
ariebovenberg:fix-issue-46244

Conversation

@ariebovenberg
Copy link
Contributor

@ariebovenberg ariebovenberg commented Jan 6, 2022

The mixin class "typing._TypeVarLike" has no __slots__. Its subclasses do define __slots__, so it looks like a mistake.

This was confirmed in the bug report

https://bugs.python.org/issue46244

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants